<a href="?act=edit_facility&add=1"><img src="images/add_new.gif">Thêm tiện ích</img></a>
<table class="tb_table" width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr class="tb_head">
	<td>Thứ tự</td>
    <td>Danh mục</td>
	<td>Tiện ích cho</td>
	<td>Mô tả</td>
	<td>&nbsp;</td>
    <td>Thao tác</td>
  </tr>
	<?php 
		$cnt = 0;
		foreach ($facilities as $category => $facilities_list) 
			foreach ($facilities_list as $facility) {
				$cnt ++;
	?>
  		<tr class="tb_content">
			<td><?php echo $cnt ?></td>
			<td><?php echo $category ?></td>
			<td><?php echo $facility->getfacility_for() ?></td>
			<td><?php echo $facility->getdescription() ?></td>
            <td>&nbsp;</td>
			<td><a href="?act=edit_facility&facility_id=<?php echo $facility->getid() ?>">Sửa</a>/<a href="?act=edit_facility&facility_id=<?php echo $facility->getid()?>&delete=yes">Xoá</a></td>
  		</tr>
	<?php } ?>
</table>
<a href="?act=edit_category&add=1"><img src="images/add_new.gif">Thêm tiện ích</img></a>